
package com.hlkj.pay.service.admin;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.dto.admin.AdminTeamsQueryDto;
import com.hlkj.pay.infrastructure.model.admin.AdminTeamsDO;

import java.util.List;

/**
 * @author HlpayTeam
 * @date 2024/11/05 14:35
 */
public interface IAdminTeamsService {

    /**
     * 
     * @param adminTeamsQueryDto
     * @return
     */
    PageResult<AdminTeamsDO> queryPage(AdminTeamsQueryDto adminTeamsQueryDto);

    /**
     * 
     * @param adminTeamsQueryDto
     * @return
     */
    List<AdminTeamsDO> queryList(AdminTeamsQueryDto adminTeamsQueryDto);
    /**
     *
     * @param name
     * @return
     */
    AdminTeamsDO queryByName(String name);
    /**
     *
     * @param adminTeamsDO
     */
    void addTeams(AdminTeamsDO adminTeamsDO);
    /**
     *
     * @param code
     * @return
     */
    AdminTeamsDO queryByCode(String code);
    /**
     *
     * @param adminTeamsDO
     */
    void updateTeams(AdminTeamsDO adminTeamsDO);
    /**
     *
     * @param id
     */
    void deleteTeams(Long id);
}
